FExists

Syntax: @FExists filename, status

The FExists command will test for the existence of the given path and file and return 1 (true, the file does exist) or 0 (false) into the specified numeric variable status. False will also be returned, if the path name given does not exist or is invalid.

Examples

@FExist 'C:\data\names.txt', flag

where flag is a numeric variable

@FExist StrArray[1], NumArray[1]